NOTE
If you want Windows support, check faccess instead.
permissions
Useful filesystem queries for file permissions:
See functions
.
is_executable
is_readable
is_writable
is_removable
is_creatable
access_syscall
supports a custom bitfield of permissions.
Examples:
use *;
Alternatives
- faccess - it provides Windows support and a trait-based API.